﻿Namespace VNDPOS.Config
    Public Class CONFIGAPP
        Public Shared PRODUCTION As Boolean = True
        Public Shared WEBAPP As Boolean = True
        Public Shared SYNCHRONIZE As Boolean = True
        Public Shared WEBAPP_CHECK_IP As Boolean = False
        Public Shared DEBUG As Boolean = True
        Public Shared TRACK_LOG As Boolean = True
        Public Shared CATEGORY_NAME_AS_ID As Boolean = True    ' this is use for category group, category, category-sub...to show option label Name - Description
        Public Shared CASHIER_SCAN_BY_ARTICLE_ALLOW As Boolean = True
        Public Shared ARTICLE_AUTO As Boolean = True
        Public Shared WAREHOUSE_POS_INSTALL As Boolean = False

        ' Dev
        Public Shared URL_PREFIX As String = "http://localhost:2864/VNDPOSWeb"

        Public Shared KEY() As Byte = {1, 1, 2, 30, 4, 0, 5, 2, 102, 4, 21, 9, 7, 3, 4, 0, 128, 2, 31, 4, 50, 1, 2, 3, 4, 0, 1, 2, 3, 4, 0, 1}
        Public Shared IV() As Byte = {10, 73, 2, 3, 4, 0, 66, 2, 3, 94, 0, 32, 11, 9, 4, 0}

        ' Dev
        Public Shared DB_STRING_1 As String = "Data Source=ThuanDev;Initial Catalog=VNDPOS;Persist Security Info=True;User ID=sa; Password=1234567"

        Public Shared DB_STRING_2 As String = "Data Source=ThuanDev;Initial Catalog=DB2;Persist Security Info=True;User ID=sa; Password=1234567"

        Public Shared WAREHOUSE_ID As String = "c150e53a-b08e-45aa-8ddf-1f0afe8da767"
        Public Shared LOCATION_ID As String = ""
        Public Shared LOCATION_USER As String = ""
        Public Shared LOCATION_PASS As String = ""
        Public Shared DATABASE_SERVER As String = ""
        Public Shared DATABASE_NAME As String = ""
        Public Shared DATABASE_USERNAME As String = ""
        Public Shared DATABASE_PWD As String = ""
        Public Shared PRINTER_NAME As String = ""

        Public Shared MAIL_SENDER As String = "noreply@vietnamdev.com"
        Public Shared MAIL_SMTP As String = "mail.vietnamdev.com"
        Public Shared MAIL_SMTP_USER As String = "noreply@vietnamdev.com"
        Public Shared MAIL_SMTP_PWD As String = "123456789@123"

        Public Shared VERSION As String = "v1.0"
        Public Shared APP_NAME As String = "VND POS"

        Public Shared CLIENT_NAME As String = "Demo"
    End Class
End Namespace
